modifier_custom_attribute_magic_armor = class({})

local public = modifier_custom_attribute_magic_armor

--------------------------------------------------------------------------------

function public:IsDebuff()
	return false
end

--------------------------------------------------------------------------------

function public:IsHidden()
	return true
end

--------------------------------------------------------------------------------

function public:IsPurgable()
	return false
end

--------------------------------------------------------------------------------

function public:RemoveOnDeath()
	return false
end

--------------------------------------------------------------------------------

function public:DeclareFunctions()
	return {MODIFIER_PROPERTY_MAGICAL_RESISTANCE_BONUS}
end

--------------------------------------------------------------------------------

function public:GetModifierMagicalResistanceBonus()
	return self:GetStackCount()
end